// 回文
var isPalindrome = function (x) {
  x = String(x)
  let arr = x.split('').reverse()
  arr = x.join()
  if (arr === x) {
    return true
  }
  return false
}